package charpter12.lynx;


public class Eight {
	public static void test() throws NullPointerException{
		;
	}
	
	public static void test1() throws NullPointerException{
		throw new NullPointerException("test");
	}
	
public static void main(String[] args) {
	try {
		test();	
	} catch (Exception e) {
		System.err.println(e.getMessage());
	}
	try {
		test1();	
	} catch (Exception e) {
		System.err.println(e.getMessage());
	}
	
}
}
